package com.genia.ba01;

/**
 * @author genia
 * @date 2022/5/6-13:30
 */
public class Director {
    public void direct(){
        //指定角色的扮演者
        Geli geli = new LiuDeHua();

        //注入具体饰演者到剧本中
        MoAttack moAttack = new MoAttack(geli);
        moAttack.cityGateAsk();
    }

    public static void main(String[] args) {
        new Director().direct();
    }
}
